
package com.ynet.middleground.riskmanage.bean.hangxin.hzfpsqdsq;

import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.NotEmpty;

import com.sun.tracing.dtrace.Attributes;
import com.sun.tracing.dtrace.NameAttributes;
import com.thoughtworks.xstream.annotations.XStreamAlias;

import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import com.thoughtworks.xstream.annotations.XStreamOmitField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * @author liwq
 * @description
 * @date 2021-11-05 16:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "红字发票申请单详细信息", description = "红字发票申请单详细信息")
public class HZZPSQBMX implements Serializable {

    private static final long serialVersionUID = -6596757464327468479L;

    @XStreamImplicit(itemFieldName = "FPXM")
    @ApiModelProperty(value = "详细信息", notes = "详细信息", required = true)
    @NotEmpty(message = "详细信息不能为空")
    protected List<FPXM> fpxms;

    @XStreamAsAttribute
    @XStreamAlias("COUNT")
    @ApiModelProperty(value = "数量", notes = "数量", required = true)
    @NotEmpty(message = "数量不能为空")
    protected String count;
}
